/**
 * Created by dell on 2017/11/1.
 */
function getDetail(index,row) {
    alert("大家都反对");
    var roleId = row.id;
    var html = "";
    $.ajax({
        url:ctx+"/sys/role/searchByRole",
        data:"roleId"+roleId,
        dataType:"json",
        async:false,
        success:function (arr) {
            $(arr).each(function () {
                var str = "<p>"+this.username+": "+this.note+"</p>";
                html+=str;
            });
        },
        error:function () {
            alert("dsdfd");
        }
    });

    return html;

}